//把所有的请求封装成一个个函数
import myAxios from "../utils/mock";
import $axios from "../utils/request";
export function getBannerList(){
    return myAxios.get("/bannerList")
}
export function getNavList(){
    return myAxios.get("/navList")
}
export function getSeckillList(){
    return $axios.get("/pro/seckilllist")

}
export function getProList(params){
    return $axios.get("/pro/list",{params})
}

//添加城市
export function getAddress(){
    return myAxios.get("/city")
}